<!-- Member mod skin -->
<load target="css/member.css" />
<!-- Member mod skin -->

<!-- Content Area -->
    
    <h2 class="content_title" cond="$site_module_info->skin != 'xe_pacakgePro' && !$site_module_info->site_srl">
        {$member_title = $lang->msg_leave_member}
    </h2>
    <div class="mcm" <!--@if(($site_module_info->skin == 'xe_pacakgePro' || $layout_info->layout == 'xe_package_community') && $site_module_info->site_srl)-->style="margin: 0px 0px 0px 0px;"<!--@end-->>
        <include target="./common_header.html" />
        <table class="col_table">
            <caption>Total: {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
            <thead>
                <tr>
                    <th class="date th_left">{$lang->date}</th>
                    <th class="title">{$lang->title}</th>
                    <th class="date th_right">{$lang->cmd_delete}</th>
                </tr>
            </thead>
            <tbody>
                <tr loop="$document_list => $no,$val">
                    <td class="date">{$val->getRegdate("Y-m-d")}</td>
                    <td class="title">
                        <a href="#saved_document_{$val->document_srl}" onclick="jQuery('#saved_document_{$val->document_srl}').toggle(); return false;">{$val->getTitle()}</a>
                        <div id="saved_document_{$val->document_srl}" class="savedContent" style="display:none;">{$val->getContent(false)}</div>
                    </td>
                    <td class="date"><span class="btn_gray"><button type="button"  onclick="doDeleteSavedDocument('{$val->document_srl}','{$lang->confirm_delete}');">{$lang->cmd_delete}</button></span></td>
                </tr>
            </tbody>
        </table>
        <div class="pagination a1">
            <a class="prevEnd" href="{getUrl('page','','module_srl','')}">&lsaquo; {$lang->first_page}</a>
            <!--@while($page_no = $page_navigation->getNextPage())-->
                <!--@if($page == $page_no)-->
                <strong>{$page_no}</strong>
                <!--@else-->
                <a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a>
                <!--@end-->
            <!--@end-->
            <a class="nextEnd" href="{getUrl('page',$page_navigation->last_page,'module_srl','')}">{$lang->last_page} &rsaquo;</a>
        </div>
    </div><!-- // mcm -->

<!-- //Content Area -->